package com.anonymous.community.api.model;

import java.util.List;

/**
 * 用户列表响应 - 管理员接口
 */
public class UserListResponse {
    private List<UserInfo> users;
    private int total;
    private int page;
    private int page_size;

    public static class UserInfo {
        private int id;
        private String email;
        private String username;
        private String anonymous_id;
        private boolean is_verified;
        private boolean is_active;
        private boolean is_admin;
        private String role;
        private String created_at;

        public int getId() {
            return id;
        }

        public String getEmail() {
            return email;
        }

        public String getUsername() {
            return username;
        }

        public String getAnonymousId() {
            return anonymous_id;
        }

        public boolean isVerified() {
            return is_verified;
        }

        public boolean isActive() {
            return is_active;
        }

        public boolean isAdmin() {
            return is_admin;
        }

        public String getRole() {
            return role;
        }

        public String getCreatedAt() {
            return created_at;
        }
    }

    public List<UserInfo> getUsers() {
        return users;
    }

    public int getTotal() {
        return total;
    }

    public int getPage() {
        return page;
    }

    public int getPageSize() {
        return page_size;
    }
}

